//-----------------------------------------------------------------------------
//	File: task_dbg.c
//	Author: xialing
//		a task for dbg
//-----------------------------------------------------------------------------

#include "task_dbg.h"

// task prio & stk & id
#define TASK_PRIO	16
OS_TID task_dbg_id;

//-----------------------------------------------------------------------------
//	task_dbg - a task for dbg
//-----------------------------------------------------------------------------
__task void task_dbg(void)
{
	while (1) {
		led(2);
		os_dly_wait(1000);
	}
}

//-----------------------------------------------------------------------------
//	task_dbg_create - task create for dbg
//-----------------------------------------------------------------------------
void task_dbg_create(void)
{
	task_dbg_id = os_tsk_create(task_dbg, TASK_PRIO);
}

